package com.bdqn.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.crm.pojo.Storage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.bdqn.crm.pojo.Storage
 */
public interface StorageMapper extends BaseMapper<Storage> {

    /**
     * 分页查询
     * @param prodName
     * @param stkWarehouse
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<Storage> selectPages(@Param("prodName") String prodName,@Param("stkWarehouse")  String stkWarehouse,@Param("pageIndex")  Integer pageIndex,@Param("pageSize")  Integer pageSize);

    /**
     * 表内记录数
     * @param prodName
     * @param stkWarehouse
     * @return
     */
    Integer count(String prodName, String stkWarehouse);
}




